import { createRouter, createWebHashHistory } from 'vue-router'

const Login = () => import('../components/Login')

const routes = [
  {
    path: '/', redirect: '/login'
  },
  {
    path: '/login', component: Login
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
